package com.cy.dda.model.domain.goodsdiligencing;

import com.cy.dda.model.enums.diligencing.DiligencingStatus;
import com.cy.dda.model.enums.goodsdiligencing.GoodsDiligencingConclusion;
import com.cy.dda.model.enums.goodsdiligencing.GoodsDiligencingStatus;
import com.cy.dda.model.enums.goodsdiligencing.GoodsDiligencingType;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description 家具尽调 t_goods_diligencing
 * @Author tanyilin
 * @Date 2019/8/23 15:58
 */
@Data
@Table(name = "t_goods_diligencing")
public class GoodsDiligencing {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /** 家具订单ID */
    private Long mOrderId;

    /** 云科贷订单ID */
    private String mLoanId;

    /** 家具订单客户ID */
    private Long mCustomerId;

    /** 客户姓名 */
    private String customerName;

    /** 手机号码 */
    private String mobile;

    /** 身份证号码 */
    private String idNo;

    /** 贷款产品 */
    private String productName;

    /** 放款金额 */
    private BigDecimal loanAmount;

    /** 放款期数 */
    private Integer periods;

    /** 放款时间 */
    private Date loanTime;

    /** 房屋所在城市 */
    private String houseCity;

    /** 调查员ID */
    private Long userId;

    /**  分配（派单）时间 */
    private Date distributeTime;

    /** 家具尽调类型 */
    private GoodsDiligencingType diligencingType;

    /** 尽调案件状态 */
    private DiligencingStatus diligencingStatus;

    /** 家具尽调状态 */
    private GoodsDiligencingStatus status;

    /** 家具尽调结论 */
    private GoodsDiligencingConclusion conclusion;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

}
